80 research outputs found

    BEEBS: Open Benchmarks for Energy Measurements on Embedded Platforms

    Full text link
    This paper presents and justifies an open benchmark suite named BEEBS, targeted at evaluating the energy consumption of embedded processors. We explore the possible sources of energy consumption, then select individual benchmarks from contemporary suites to cover these areas. Version one of BEEBS is presented here and contains 10 benchmarks that cover a wide range of typical embedded applications. The benchmark suite is portable across diverse architectures and is freely available. The benchmark suite is extensively evaluated, and the properties of its constituent programs are analysed. Using real hardware platforms we show case examples which illustrate the difference in power dissipation between three processor architectures and their related ISAs. We observe significant differences in the average instruction dissipation between the architectures of 4.4x, specifically 170uW/MHz (ARM Cortex-M0), 65uW/MHz (Adapteva Epiphany) and 88uW/MHz (XMOS XS1-L1)

    Optimizing the flash-RAM energy trade-off in deeply embedded systems

    Full text link
    Deeply embedded systems often have the tightest constraints on energy consumption, requiring that they consume tiny amounts of current and run on batteries for years. However, they typically execute code directly from flash, instead of the more energy efficient RAM. We implement a novel compiler optimization that exploits the relative efficiency of RAM by statically moving carefully selected basic blocks from flash to RAM. Our technique uses integer linear programming, with an energy cost model to select a good set of basic blocks to place into RAM, without impacting stack or data storage. We evaluate our optimization on a common ARM microcontroller and succeed in reducing the average power consumption by up to 41% and reducing energy consumption by up to 22%, while increasing execution time. A case study is presented, where an application executes code then sleeps for a period of time. For this example we show that our optimization could allow the application to run on battery for up to 32% longer. We also show that for this scenario the total application energy can be reduced, even if the optimization increases the execution time of the code

    Less is More: Exploiting the Standard Compiler Optimization Levels for Better Performance and Energy Consumption

    Get PDF
    This paper presents the interesting observation that by performing fewer of the optimizations available in a standard compiler optimization level such as -O2, while preserving their original ordering, significant savings can be achieved in both execution time and energy consumption. This observation has been validated on two embedded processors, namely the ARM Cortex-M0 and the ARM Cortex-M3, using two different versions of the LLVM compilation framework; v3.8 and v5.0. Experimental evaluation with 71 embedded benchmarks demonstrated performance gains for at least half of the benchmarks for both processors. An average execution time reduction of 2.4% and 5.3% was achieved across all the benchmarks for the Cortex-M0 and Cortex-M3 processors, respectively, with execution time improvements ranging from 1% up to 90% over the -O2. The savings that can be achieved are in the same range as what can be achieved by the state-of-the-art compilation approaches that use iterative compilation or machine learning to select flags or to determine phase orderings that result in more efficient code. In contrast to these time consuming and expensive to apply techniques, our approach only needs to test a limited number of optimization configurations, less than 64, to obtain similar or even better savings. Furthermore, our approach can support multi-criteria optimization as it targets execution time, energy consumption and code size at the same time.Comment: 15 pages, 3 figures, 71 benchmarks used for evaluatio

    Static analysis of energy consumption for LLVM IR programs

    Get PDF
    Energy models can be constructed by characterizing the energy consumed by executing each instruction in a processor's instruction set. This can be used to determine how much energy is required to execute a sequence of assembly instructions, without the need to instrument or measure hardware. However, statically analyzing low-level program structures is hard, and the gap between the high-level program structure and the low-level energy models needs to be bridged. We have developed techniques for performing a static analysis on the intermediate compiler representations of a program. Specifically, we target LLVM IR, a representation used by modern compilers, including Clang. Using these techniques we can automatically infer an estimate of the energy consumed when running a function under different platforms, using different compilers. One of the challenges in doing so is that of determining an energy cost of executing LLVM IR program segments, for which we have developed two different approaches. When this information is used in conjunction with our analysis, we are able to infer energy formulae that characterize the energy consumption for a particular program. This approach can be applied to any languages targeting the LLVM toolchain, including C and XC or architectures such as ARM Cortex-M or XMOS xCORE, with a focus towards embedded platforms. Our techniques are validated on these platforms by comparing the static analysis results to the physical measurements taken from the hardware. Static energy consumption estimation enables energy-aware software development, without requiring hardware knowledge

    Identifying Compiler Options to Minimise Energy Consumption for Embedded Platforms

    Full text link
    This paper presents an analysis of the energy consumption of an extensive number of the optimisations a modern compiler can perform. Using GCC as a test case, we evaluate a set of ten carefully selected benchmarks for five different embedded platforms. A fractional factorial design is used to systematically explore the large optimisation space (2^82 possible combinations), whilst still accurately determining the effects of optimisations and optimisation combinations. Hardware power measurements on each platform are taken to ensure all architectural effects on the energy consumption are captured. We show that fractional factorial design can find more optimal combinations than relying on built in compiler settings. We explore the relationship between run-time and energy consumption, and identify scenarios where they are and are not correlated. A further conclusion of this study is the structure of the benchmark has a larger effect than the hardware architecture on whether the optimisation will be effective, and that no single optimisation is universally beneficial for execution time or energy consumption.Comment: 14 pages, 7 figure

    Market segmentation in behavioral perspective

    Get PDF
    A segmentation approach is presented using both traditional demographic segmentation bases (age, social class/occupation, and working status) and a segmentation by benefits sought. The benefits sought in this case are utilitarian and informational reinforcement, variables developed from the Behavioral Perspective Model (BPM). Using data from 1,847 consumers and from a total of 76,682 individual purchases, brand choice and price and reinforcement responsiveness were assessed for each segment across the UK cookie (biscuits) market. Building on previous work, the results suggest that the segmentation of brand choice using benefits sought is useful. This is especially the case alongside demographic variables. This article provides a theoretical and practical segmentation approach to both the behavioral psychology literature and the wider marketing segmentation literature

    Changes in self-esteem in participants associated with Weightloss and Maintenance of Commercial Weight Management Programme

    Get PDF
    Introduction and methods: This study examined associations between weight loss, its maintenance and self-esteem in 292 members of a commercial weight management organisation, Slimming World. Self-esteem was measured with the Rosenberg self-esteem questionnaire adapted to 5-point Likert scales. Associations between dimensions of self-esteem and weight change were examined by correlation and regression using the GENSTAT 5 statistical program. Results: Mean (SD) weight on joining the CWMO was 89.0 (20.0) kg; time taken to reach current weight was 16.3 (13.5) months. Mean (SD) weight change was -15.6 (11.4) kg and BMI change was -5.7 (4.0) (both p < 0.001), maintained for 11.7 (12.8) months. Percent variance in weight change associated with each component of self-esteem is given in parentheses. All weight changes were negative. Participants reported a decrease in sense of failure (3.9%) and an increase in self-respect (3.0%) and self-pride (2.4%). Self-satisfaction (12.8%), feelings of self-achievement (10.6%), positive attitudes towards themselves (9.9%), sense of self-worth (10.6%) and self-efficacy (7.3%) all significantly increased in association with reaching and maintaining their current weight (all p < 0.001). Multiple regression analysis showed that age, gender, height and start weight accounted for 35.4% of the variance in weight change. Self-esteem components of the model accounted for 50.4% of the variance in weight change. Conclusion: Successful weight loss and maintenance was associated with significant reported improvements in self-esteem in members of a Commercial Weight Management Organisation

    Intramedullary nail fixation versus locking plate fixation for adults with a fracture of the distal tibia : the UK FixDT RCT

    Get PDF
    Background The best treatment for fractures of the distal tibia remains controversial. Most of these fractures require surgical fixation, but the outcomes are unpredictable and complications are common. Objectives To assess disability, quality of life, complications and resource use in patients treated with intramedullary (IM) nail fixation versus locking plate fixation in the 12 months following a fracture of the distal tibia. Design This was a multicentre randomised trial. Setting The trial was conducted in 28 UK acute trauma centres from April 2013 to final follow-up in February 2017. Participants In total, 321 adult patients were recruited. Participants were excluded if they had open fractures, fractures involving the ankle joint, contraindication to nailing or inability to complete questionnaires. Interventions IM nail fixation (n = 161), in which a metal rod is inserted into the hollow centre of the tibia, versus locking plate fixation (n = 160), in which a plate is attached to the surface of the tibia with fixed-angle screws. Main outcome measures The primary outcome measure was the Disability Rating Index (DRI) score, which ranges from 0 points (no disability) to 100 points (complete disability), at 6 months with a minimum clinically important difference of 8 points. The DRI score was also collected at 3 and 12 months. The secondary outcomes were the Olerud–Molander Ankle Score (OMAS), quality of life as measured using EuroQol-5 Dimensions (EQ-5D), complications such as infection, and further surgery. Resource use was collected to inform the health economic evaluation. Results Participants had a mean age of 45 years (standard deviation 16.2 years), were predominantly male (61%, 197/321) and had experienced traumatic injury after a fall (69%, 223/321). There was no statistically significant difference in DRI score at 6 months [IM nail fixation group, mean 29.8 points, 95% confidence interval (CI) 26.1 to 33.7 points; locking plate group, mean 33.8 points, 95% CI 29.7 to 37.9 points; adjusted difference, 4.0 points, 95% CI –1.0 to 9.0 points; p = 0.11]. There was a statistically significant difference in DRI score at 3 months in favour of IM nail fixation (IM nail fixation group, mean 44.2 points, 95% CI 40.8 to 47.6 points; locking plate group, mean 52.6 points, 95% CI 49.3 to 55.9 points; adjusted difference 8.8 points, 95% CI 4.3 to 13.2 points; p < 0.001), but not at 12 months (IM nail fixation group, mean 23.1 points, 95% CI 18.9 to 27.2 points; locking plate group, 24.0 points, 95% CI 19.7 to 28.3 points; adjusted difference 1.9 points, 95% CI –3.2 to 6.9 points; p = 0.47). Secondary outcomes showed the same pattern, including a statistically significant difference in mean OMAS and EQ-5D scores at 3 and 6 months in favour of IM nail fixation. There were no statistically significant differences in complications, including the number of postoperative infections (13% in the locking plate group and 9% in the IM nail fixation group). Further surgery was more common in the locking plate group (12% in locking plate group and 8% in IM nail fixation group at 12 months). The economic evaluation showed that IM nail fixation provided a slightly higher quality of life in the 12 months after injury and at lower cost and, therefore, it was cost-effective compared with locking plate fixation. The probability of cost-effectiveness for IM nail fixation exceeded 90%, regardless of the value of the cost-effectiveness threshold. Limitations As wound dressings after surgery are clearly visible, it was not possible to blind the patients to their treatment allocation. This evidence does not apply to intra-articular (pilon) fractures of the distal tibia. Conclusions Among adults with an acute fracture of the distal tibia who were randomised to IM nail fixation or locking plate fixation, there were similar disability ratings at 6 months. However, recovery across all outcomes was faster in the IM nail fixation group and costs were lower

    Magmatism on rift flanks: insights from ambient noise phase velocity in Afar region

    Get PDF
    During the breakup of continents in magmatic settings, the extension of the rift valley is commonly assumed to initially occur by border faulting and progressively migrate in space and time toward the spreading axis. Magmatic processes near the rift flanks are commonly ignored. We present phase velocity maps of the crust and uppermost mantle of the conjugate margins of the southern Red Sea (Afar and Yemen) using ambient noise tomography to constrain crustal modification during breakup. Our images show that the low seismic velocities characterize not only the upper crust beneath the axial volcanic systems but also both upper and lower crust beneath the rift flanks where ongoing volcanism and hydrothermal activity occur at the surface. Magmatic modification of the crust beneath rift flanks likely occurs for a protracted period of time during the breakup process and may persist through to early seafloor spreading
    • …
    corecore